## the minimum version of CMake.
#cmake_minimum_required(VERSION 3.5.0)
#project(MyApplication)
#
#set(NATIVERENDER_ROOT_PATH ${CMAKE_CURRENT_SOURCE_DIR})
#
#if(DEFINED PACKAGE_FIND_FILE)
#    include(${PACKAGE_FIND_FILE})
#endif()
#
#include_directories(${NATIVERENDER_ROOT_PATH}
#                    ${NATIVERENDER_ROOT_PATH}/include)
#
#
#add_library(camera_kit SHARED napi_init.cpp camera_manager.cpp)
##target_link_libraries(camera_kit PUBLIC rnoh)
#target_link_libraries(camera_kit PUBLIC libohcamera.so libace_napi.z.so libnative_buffer.so libhilog_ndk.z.so librawfile.z.so)

cmake_minimum_required(VERSION 3.13)
set(CMAKE_VERBOSE_MAKEFILE on)

file(GLOB camera_kit_SRC CONFIGURE_DEPENDS *.cpp)
add_library(camera_kit SHARED ${camera_kit_SRC})
target_include_directories(camera_kit PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
#target_link_libraries(camera_kit PUBLIC rnoh)
target_link_libraries(camera_kit PUBLIC libohcamera.so libace_napi.z.so libnative_buffer.so libhilog_ndk.z.so librawfile.z.so)